<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>Object.create方法</title>
	</head>
	<body>
		<!-- Object.create用于以指定对象为原型对象，创建新的对象 -->
		<script type="text/javascript" >
			let obj = [1,2,3]

			let obj2 = Object.create(obj)
			obj2.a = 900

			console.log(obj2)
		</script>
	</body>
</html>